package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 新增角色请求参数
 * @author guifang.weng
 * @create 2017-11-21 16:36
 **/
public class AddChannelRoleReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = -488742018809217481L;

    /**
     * 角色名称
     */
    @TYWValid(min = 1,max = 20)
    private String roleName;

    /**
     *登录首页
     */
    private String roleIndexPage;
    /**
     * 备注
     */
    @TYWValid(max = 200)
    private String remark;
    /**
     * 登陆人公司id
     */
    private Long merchantId;
    /**
     * 角色根源 1、开发商 2、渠道商
     */
    @TYWValid(min = 1,max = 1)
    private String roleOrigin;


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRoleIndexPage() {
        return roleIndexPage;
    }

    public void setRoleIndexPage(String roleIndexPage) {
        this.roleIndexPage = roleIndexPage;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getRoleOrigin() {
        return roleOrigin;
    }

    public void setRoleOrigin(String roleOrigin) {
        this.roleOrigin = roleOrigin;
    }
}
